package com.guoxin.designpattern.chapter7;

import java.util.stream.IntStream;

/**
 * @author guoxin
 * @date 2019/9/5
 */
public class Client {
    public static void main(String[] args) {
        Person person = new Person("Alex", "Beijing");
        IntStream.range(0, 50).forEach(i -> new UsePersonThread(person).start());
    }
}
